package cn.edu.zafu.bigdata.x.sxy;

import java.util.List;
import static cn.edu.zafu.bigdata.x.sxy.FindMax.findMax;

public class TestFindMax {
    public static void main(String[] args) {
        List<Integer> intlst = List.of(1,1,4,5,1,4);
        Integer Max;
        Max = findMax(intlst);
        System.out.println(Max);

        List<String> strlst = List.of("Fangxingchen","Huzeqi","Huyan","Xingguangs");
        String str;
        str = findMax(strlst);
        System.out.println(str);
    }
}
